package com.example.dao.product;

import com.example.pojo.ProductLog;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ProductLogDao {

    /**
    * @Description:  查看商品日志
    * @Param: * @param null
    * @return:
    * @Author: yc
    * @Date: 2023/2/1 20:19
    */
    List<ProductLog> getProductLog();

    /**
    * @Description: 添加商品日志
    * @Param: * @param null
    * @return:
    * @Author: yc
    * @Date: 2023/2/1 20:18
    */
    int addProductLog(ProductLog productLog);

    /**
    * @Description: 删除商品日志
    * @Param: * @param null
    * @return:
    * @Author: yc
    * @Date: 2023/2/1 20:20
    */
    void delProductLog(Integer id);
}
